import request from '@/utils/request'

// 查询水泥混凝土坍落度、观密度试验坍落度详情列表
export function listSnhntCdbgmdtldBaDetail(query) {
  return request({
    url: '/reportsnhnt/snhntCdbgmdtldBaDetail/list',
    method: 'get',
    params: query
  })
}

// 查询水泥混凝土坍落度、观密度试验坍落度详情详细
export function getSnhntCdbgmdtldBaDetail(id) {
  return request({
    url: '/reportsnhnt/snhntCdbgmdtldBaDetail/' + id,
    method: 'get'
  })
}

// 新增水泥混凝土坍落度、观密度试验坍落度详情
export function addSnhntCdbgmdtldBaDetail(data) {
  return request({
    url: '/reportsnhnt/snhntCdbgmdtldBaDetail',
    method: 'post',
    data: data
  })
}

// 修改水泥混凝土坍落度、观密度试验坍落度详情
export function updateSnhntCdbgmdtldBaDetail(data) {
  return request({
    url: '/reportsnhnt/snhntCdbgmdtldBaDetail',
    method: 'put',
    data: data
  })
}

// 删除水泥混凝土坍落度、观密度试验坍落度详情
export function delSnhntCdbgmdtldBaDetail(id) {
  return request({
    url: '/reportsnhnt/snhntCdbgmdtldBaDetail/' + id,
    method: 'delete'
  })
}
